package com.svse.designPattern.behaviour.mediator.service;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/8 22:49
 */
abstract public class Colleague {
    protected Mediator mediator;
    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }
    public abstract void receive();
    public abstract void send();
}
